// pages/welcome/welcome.js
var app = getApp(); 
Page({
  onShow:function(e){
   
  },
  onReady: function (e) {
    var that = this
    setTimeout(function () {
      if (getApp().globalData.LoginStatus == false) {
        wx.redirectTo({
          url: '../logIn/logIn'
        })
      }
       }, 2000);
  }
}) 